package com.zhentao.model.user.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 *
 * @TableName ap_user_info
 */
@TableName(value ="ap_user_info")
@Data
public class ApUserInfo implements Serializable {
    /**
     * 用户信息表ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 用户名称（真实姓名）
     */
    @TableField(value = "realname_name")
    private String realnameName;

    /**
     * 用户性别
     */
    @TableField(value = "gender")
    private Integer gender;

    /**
     * 用户年龄
     */
    @TableField(value = "age")
    private Integer age;

    /**
     * 用户身高
     */
    @TableField(value = "height")
    private String height;

    /**
     * 用户体重
     */
    @TableField(value = "weight")
    private String weight;

    /**
     * 出生年月
     */
    @TableField(value = "birthdate")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date birthdate;

    /**
     * 星座
     */
    @TableField(value = "constellation")
    private String constellation;

    /**
     * 婚姻状况
     */
    @TableField(value = "marital_status")
    private String maritalStatus;

    /**
     * 自我介绍
     */
    @TableField(value = "self_introduction")
    private String selfIntroduction;

    /**
     * 学历
     */
    @TableField(value = "education")
    private String education;

    /**
     * 车产情况
     */
    @TableField(value = "is_vehicle")
    private String isVehicle;

    /**
     * 房产情况
     */
    @TableField(value = "is_house")
    private String isHouse;

    /**
     * 用户现住址
     */
    @TableField(value = "present_address")
    private String presentAddress;

    /**
     * 用户民族
     */
    @TableField(value = "nation")
    private String nation;

    /**
     * 户籍贯
     */
    @TableField(value = "native_place")
    private String nativePlace;

    /**
     * 工作单位
     */
    @TableField(value = "job")
    private String job;

    /**
     * 家庭状态
     */
    @TableField(value = "family_status")
    private String familyStatus;

    /**
     * 个人照片
     */
    @TableField(value = "personal_photo")
    private String personalPhoto;

    /**
     * 工资状况
     */
    @TableField(value = "salary")
    private Double salary;

    /**
     * 父母工作
     */
    @TableField(value = "parent_job")
    private String parentJob;

    /**
     * 经度
     */
    @TableField(value = "longitude")
    private String longitude;

    /**
     * 纬度
     */
    @TableField(value = "latitude")
    private String latitude;

    /**
     * 择偶要求(大概)
     */
    @TableField(value = "mate_criteria")
    private String mateCriteria;

    /**
     * 审核状态（0未审计/1审计通过/2审计失败）
     */
    @TableField(value = "audit_status")
    private Integer auditStatus;

    /**
     * 软删除资料
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    /**
     * 资料发布时间
     */
    @TableField(value = "release_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")

    private Date releaseTime;

    /**
     * 审核通过时间
     */
    @TableField(value = "pass_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date passTime;

    /**
     * 创建时间
     */
    @TableField(value = "created_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date createdTime;

    /**
     * 资料修改时间
     */
    @TableField(value = "updated_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date updatedTime;
    /**
     * 详细信息静态页面
     */
    @TableField(value = "text_url")
    private String textUrl;
    /**
     * 审核结果（
     */
    @TableField(value = "feedback")
    private String feedback;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
